const mocks: MockRecord[] = [
  {
    method: "get",
    url: "/api/system/user/profile",
    response() {
      const resData: responseType = {
        code: 200 ,
        msg: "查询成功",
        data: {
          "createBy": "admin",
          "createTime": "2024-07-07 17:41:52",
          "updateBy": null,
          "updateTime": null,
          "remark": "管理员",
          "params": {
            "@type": "java.util.HashMap"
          },
          "userId": 1,
          "deptId": 103,
          "userName": "admin",
          "nickName": "必哥",
          "email": "bg@163.com",
          "phonenumber": "15888888888",
          "sex": "1",
          "avatar": "/profile/avatar/2024/07/13/avatar_20240713165625A009.png",
          "password": "$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2",
          "status": "0",
          "delFlag": "0",
          "loginIp": "127.0.0.1",
          "loginDate": "2024-07-13T16:52:47.000+08:00",
          "dept": {
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "remark": null,
            "params": {
              "@type": "java.util.HashMap"
            },
            "deptId": 103,
            "parentId": 101,
            "ancestors": "0,100,101",
            "deptName": "研发部门",
            "orderNum": 1,
            "leader": "必哥",
            "phone": null,
            "email": null,
            "status": "0",
            "delFlag": null,
            "parentName": null,
            "children": []
          },
          "roles": [
            {
              "createBy": null,
              "createTime": null,
              "updateBy": null,
              "updateTime": null,
              "remark": null,
              "params": {
                "@type": "java.util.HashMap"
              },
              "roleId": 1,
              "roleName": "超级管理员",
              "roleKey": "admin",
              "roleSort": 1,
              "dataScope": "1",
              "menuCheckStrictly": false,
              "deptCheckStrictly": false,
              "status": "0",
              "delFlag": null,
              "flag": false,
              "menuIds": null,
              "deptIds": null,
              "permissions": null,
              "admin": true
            }
          ],
          "roleIds": null,
          "postIds": null,
          "roleId": null,
          "admin": true
        },
        postGroup: "董事长",
        roleGroup: "超级管理员",
      }

      return resData;
    }
  },
  {
    method: "put",
    url: "/api/system/user/profile",
    response() {
      const resData: responseType = {
        code: 200 ,
        msg: "操作成功",
      }

      return resData;
    }
  },
  {
    method: "put",
    url: "/api/system/user/profile/updatePwd",
    response() {
      const resData: responseType = {
        code: 200 ,
        msg: "操作成功",
      }

      return resData;
    }
  },
  {
    method: "post",
    url: "/api/system/user/profile/avatar",
    response() {
      const resData: responseType = {
        code: 200 ,
        msg: "操作成功",
      }

      return resData;
    }
  }
]

export default mocks